um\core\Files D

Total Complexity 254
Dependencies 1
Dependents 2
Total lines 1,558
Lines of code 852
Logical lines of code 578
Comment lines 419
Methods 35
Properties 7

Methods 35

Method Rating Maintainability Complexity Lines of code
ajax_image_upload()
D
27
45 124
ajax_resize_image()
D
30 44 97
ajax_file_upload()
D
30 35 104
create_and_copy_image()
B
42 16 50
download_routing()
A
44 13 48
ajax_remove_file()
A
46 12 37
remove_old_files()
A
50 12 28
image_download()
S
48 7 30
file_download()
S
48 7 30
setup_paths()
S
52 7 23
get_profile_photo_size()
S
55 7 19
fix_image_orientation()
S
56 6 19
delete_core_user_photo()
S
56 6 17
get_image_data()
S
49 4 29
remove_dir()
S
62 4 12
resize_image()
S
50 3 27
delete_file()
S
61 3 13
get_download_link()
S
59 2 13
__construct()
S
51 1 26
allowed_file_types()
S
52 1 24
new_user()
S
67 2 7
in_array()
S
71 2 6
get_fonticon_by_ext()
S
69 2 7
get_fonticon_bg_by_ext()
S
69 2 7
get_extension_by_mime_type()
S
75 1 4
make_dir()
S
72 1 5
new_file_upload_temp()
S
68 1 7
new_image_upload_temp()
S
67 1 7
upload_temp_file()
S
80 1 3
path_only()
S
80 1 3
new_user_upload()
S
76 1 4
unique_dir()
S
70 1 6
allowed_image_types()
S
67 1 8
format_bytes()
S
74 1 4
get_file_data()
S
76 1 4